#include "server.hpp"

static void usage()
{
    std::cout << "Usage: ./server port" << std::endl;
    exit(4);
}

int main(int argc, char *argv[])
{
    if(argc != 2) usage();
    ServerTcp svr(atoi(argv[1]));

    svr.init();
    svr.loop();

    return 0;
}
